
/* 01. header css here */
.body_overlay{
    width: 100%;
	height: 100%;
	position: fixed;
    z-index: 999;
	opacity: 0;
	visibility: hidden;
	cursor: progress;
    background-color: rgba(0,0,0,0.6);
    top: 0;
    &.active{
        opacity: 0.3;
        visibility: visible;
    }
}

.off_canvars_overlay {
	width: 100%;
	height: 100%;
	position: fixed;
    z-index: 999;
	opacity: 0;
	visibility: hidden;
	cursor: crosshair;
    background: $fonts_color;
    top: 0;
    &.active{
        opacity: 0.5;
        visibility: visible;
    }
}
.offcanvas_menu{
    display: none;
     @media #{$tablet-device}{
        display: block;
        
    }
    @media #{$large-mobile}{
        display: block;
    }
    
}
.offcanvas_menu_wrapper{
	width: 290px;
	position: fixed;
	background: #fff;
	z-index: 999;
	top: 0;
	height: 100vh;
    transition: .5s;
    left: 0;
    margin-left: -300px;
    padding: 55px 15px 30px;
    overflow-y: auto;
    &.active{
        margin-left: 0;
    }
    & .slinky-theme-default {
        background: inherit;
        min-height: 300px;
         overflow-y: auto;
    }
    & .header_contact_info{
        display: block;
    }
    & .header_social{
        display: flex !important;
    }
    & .language_currency{
        display: block;
    }
}
.offcanvas_main_menu{
    & > li{
        &.menu-item-has-children{
            &.menu-open{
                & > span.menu-expand{
                    transform: rotate(180deg);
                }
            }
        }
        & ul{
            & li{
                &.menu-item-has-children{
                    &.menu-open{
                        & span.menu-expand{
                            transform: rotate(180deg);
                        }
                    }
                }
            }
        }
    }
}
.offcanvas_main_menu{
    & li{
        position: relative;
        
        &:last-child{
            margin: 0;
        }
        & span{
            &.menu-expand{
                position: absolute;
                right: 0;
                cursor: pointer;
                &:hover{
                    color: $secondary_color;
                }
            }
        }
        & a{
            font-size: 14px;
            font-weight: 400;
            text-transform: capitalize;
            display: block;
            padding-bottom: 12px;
            margin-bottom: 12px;
            border-bottom: 1px solid $grey_color;
            &:hover{
                color: $secondary_color;
            }
        }
        & ul.sub-menu{
            padding-left: 20px;
            & li{
                & a{
                    
                }
            }
        }
         
    }
}

.canvas_close {
	position: absolute;
	top: 15px;
    right: 25px;
    & a{
        font-size: 30px;
        transition: 0.7s;
        display: inline-block;
        transform: scale(1) rotate(0deg);
        &:hover{
            color: #ffb83c;
            transform: scale(1.3) rotate(180deg);
            
        }
        &:hover{
             color: $secondary_color; 
        }
    }
}
.canvas_open{
    display: none;
    margin-left: 28px;
     @media #{$tablet-device}{
        display: block;
        
    }
    @media #{$large-mobile}{
        display: block;
    }
    & a{
        font-size: 38px;
        display: block;
        line-height: 16px;
        color: $white;
        &:hover{
            color: $secondary_color; 
        }
    }
}


.sticky-header.sticky {
	position: fixed;
	z-index: 99;
	width: 100%;
	top: 0;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 1px 3px rgba(0,0,0,0.11);
	-webkit-animation-name: fadeInDown;
	animation-name: fadeInDown;
	-webkit-animation-duration: 900ms;
	animation-duration: 900ms;
	-webkit-animation-timing-function: cubic-bezier(0.2, 1, 0.22, 1);
	animation-timing-function: cubic-bezier(0.2, 1, 0.22, 1);
	-webkit-animation-delay: 0s;
	animation-delay: 0s;
	-webkit-animation-iteration-count: 1;
	animation-iteration-count: 1;
	-webkit-animation-direction: normal;
	animation-direction: normal;
	-webkit-animation-fill-mode: none;
	animation-fill-mode: none;
	-webkit-animation-play-state: running;
	animation-play-state: running;
    border-bottom: 0;
    display: block;
    @media #{$tablet-device}{
        padding: 15px 0;
    }
    @media #{$large-mobile}{
        padding: 15px 0;
    }
}

/*header css heer*/
.header_transparent{
    position: absolute;
    top: 0;
    z-index: 99;
    left: 0;
    right: 0;
}
.header_section_inner {
    padding: 38px 45px;
    @media #{$mini-laptop-device}{
        padding: 35px 0;
    }
    @media #{$desktop-device}{
        padding: 35px 0;
    }
    @media #{$tablet-device}{
        padding: 35px 0;
    }
    @media #{$large-mobile}{
        padding: 30px 0;
    }
}
.menu_overlay {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: 999;
    background: rgba(255, 255, 255, 0.96);
    transition: .3s;
    opacity: 0;
    visibility: hidden;
    transform: scale(0);
    &.active{
        opacity: 1;
        visibility: visible;
        transform: scale(1);
    }

}
.menu_open{
    & a{
        &:hover{
            color: $secondary_color;
        }
        & span{
            font-size: 16px;
            text-transform: uppercase;
            font-weight: 500;
            padding-right: 15px;
        }
        & i{
            font-size: 34px;
            transition: .3s;
        }
    }
}
.menu_close{
    position: absolute;
    right: 100px;
    top: 60px;
    @media #{$large-mobile}{
        right: 37px;
        top: 28px;
    }
    & i{
        font-size: 40px;
        display: inline-block;
        transform: scale(1) rotate(0deg);
        transition: .7s;
        cursor: pointer;
        &:hover
        {
            transform: scale(1.3) rotate(180deg);
            color: $secondary_color;
        }
        @media #{$large-mobile}{
            font-size: 32px;
        }
    }
}

.main_menu{
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    & nav{
        & > ul{
            text-align: center;
            & > li{
                margin-bottom: 35px;
                position: relative;
                @media #{$tablet-device}{
                    margin-bottom: 30px;
                }
                @media #{$large-mobile}{
                    margin-bottom: 21px;
                }
                &:last-child{
                    margin-bottom: 0;
                }
                &:hover{
                    & > a{
                        color: $secondary_color;
                    }
                }
                & > a{
                    font-size: 24px;
                    line-height: 26px;
                    display: inline-block;
                    text-transform: uppercase;
                    font-weight: 500;
                    color: $fonts_color;
                    @media #{$tablet-device}{
                        font-size: 20px;
                        line-height: 25px;
                    }
                    @media #{$large-mobile}{
                        font-size: 18px;
                        line-height: 26px;
                    }
                    & i{
                        font-size: 22px;
                        margin-left: 8px;
                        @media #{$large-mobile}{
                            font-size: 18px;
                            margin-left: 6px;
                        }
                    }
                }
                & ul.sub_menu{
                    top: 9px;
                    position: relative;
                    @media #{$large-mobile}{
                        top: 6px;
                    }
                    & li{
                        margin-bottom: 10px;
                        &:last-child{
                            margin-bottom: 0;
                        }
                        @media #{$large-mobile}{
                            margin-bottom: 7px;
                        }
                        & a{
                            font-size: 18px;
                            line-height: 30px;
                            display: inline-block;
                            text-transform: capitalize;
                            font-weight: 400;
                            color: $fonts_color;
                            &:hover{
                                color: $secondary_color;
                            }
                            @media #{$large-mobile}{
                                font-size: 17px;
                                margin-left: 6px;
                                line-height: 26px;
                            }
                        }
                    }
                }
            }
        }
    }
}
